import React, { Suspense } from "react";
import Router from "./router";
import "./App.css";
import store from "./store";
import { Provider } from "react-redux";
const App = () => {
  return (
    <Provider store={store}>
      <Suspense fallback={<h1>路由拼命加载中...</h1>}>
        <Router></Router>
      </Suspense>
    </Provider>
  );
};

export default App;
